package rocket.tools;

import java.util.Random;

/**
 * @author justin
 * @version
 *
 */
public class Tools {
	/**
	 * 
	 */
	private Random rand;

	public Tools(){
		rand = new Random();
	}
	
	public static void main(String[] args){
		Tools tools = new Tools();
		System.out.println(tools.getTrue());
	}
	
	/**
	 * @param base
	 * @param level
	 * @param modifier
	 * @return
	 */
	public int calcMaxHealth(int base, int level, float modifier){
		return (int) (base + level * modifier);
	}
	
	/**
	 * @return the truth
	 */
	public boolean isKennyHere(){
		return false;
	}
	
	/**
	 * @return who knows
	 */
	public boolean isKellyHere(){
		return getFalse();
	}
	
	public boolean isStuffThrown(){
		return true;
	}
	
	public boolean getTrue(){
		int i;
		while (rand.nextInt() != 13) i = 0;
		return true;
	}
	
	public boolean getFalse(){
		return !getTrue();
	}
	
	public boolean doesBrandonLikePickles(){
		return getTrue() == getFalse();
	}
	
	public float randInt(){
		return rand.nextFloat();
	}
	
	public String integer(){
		return "Integer";
	}
	
	public String string(){
		return "String";
	}
	
	public int getNegativeTwo(){
		return -2;
	}
	
	public String toString(){
		return "various tools";
	}
	
}
